//
//  RadioDetailCell.m
//  Leisure
//
//  Created by 大展 on 16/4/20.
//  Copyright © 2016年 张展. All rights reserved.
//

#import "RadioDetailCell.h"

@interface RadioDetailCell ()
@property (strong, nonatomic) IBOutlet UIImageView *myImage;
@property (strong, nonatomic) IBOutlet UILabel *title;
@property (strong, nonatomic) IBOutlet UILabel *visitCount;

@end

@implementation RadioDetailCell

- (void)awakeFromNib {
    // Initialization code
}



- (void)setCellWithModel:(RedioDetailModel *)model {

    [self.myImage sd_setImageWithURL:[NSURL URLWithString:model.coverimg]];
    self.title.text = model.title;
    self.visitCount.text = [NSString stringWithFormat:@"%ld",(long)model.musicVisit];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
